/*
 * Copyright (c) OSGi Alliance (2005). All Rights Reserved.
 *
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Public License v1.0 which accompanies this
 * distribution, and is available at http://www.eclipse.org/legal/epl-v10.html.
 *
 * This copyright applies to the comments and public final static String fields only
 */
package org.osgi.core.framework.interfaces
{
	import org.osgi.core.framework.events.FrameworkEvent;

	/**
	 * A <code>FrameworkEvent</code> listener. When a <code>FrameworkEvent</code> is
	 * fired, it is asynchronously delivered to a <code>FrameworkListener</code>.
	 *
	 * <p>
	 * <code>FrameworkListener</code> is a listener interface that may be
	 * implemented by a bundle developer. A <code>FrameworkListener</code> object
	 * is registered with the Framework using the
	 * {@link BundleContext#addFrameworkListener} method.
	 * <code>FrameworkListener</code> objects are called with a
	 * <code>FrameworkEvent</code> objects when the Framework starts and when
	 * asynchronous errors occur.
	 *
	 * @version $Revision: 1.10
	 * @see FrameworkEvent
	 */

	public interface IFrameworkListener
	{

		/**
		 * Receives notification of a general <code>FrameworkEvent</code> object.
		 *
		 * @param event The <code>FrameworkEvent</code> object.
		 */
		function frameworkEvent(event:FrameworkEvent):void;
	}
}